package com.tyc.server;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.oauth2.client.OAuth2ClientContext;
import org.springframework.security.oauth2.client.OAuth2RestTemplate;
import org.springframework.security.oauth2.client.resource.OAuth2ProtectedResourceDetails;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableOAuth2Client;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer;

/**
 * @Description: java类作用描述
 * @Author: tyc
 * @CreateDate: 2021/2/4 13:54
 */
@SpringBootApplication
@EnableFeignClients
@EnableResourceServer
@Configuration
public class Server01Application {

    public static void main(String[] args) {
        SpringApplication.run(Server01Application.class,args);
    }
}
